package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 app_customer
 *
 * @author CuiYingJie
 * @date 2020-12-01
 */
public class AppCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Integer id;

    /** 上级用户id */
    @Excel(name = "上级用户id")
    private Integer parentUserId;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal balance;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 累计收益 */
    @Excel(name = "累计收益")
    private BigDecimal totalProfit;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechat;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 支付宝账号 */
    @Excel(name = "支付宝账号")
    private String alipay;

    /** 用户级别(0:普通用户; 1:VIP用户) */
    @Excel(name = "用户级别(0:普通用户; 1:VIP用户)")
    private Integer level;

    /** 是否通过实名认证(0:否; 1:是) */
    @Excel(name = "是否通过实名认证(0:否; 1:是)")
    private Integer isAuth;

    /** 封禁状态 */
    @Excel(name = "封禁状态")
    private Integer limitStatus;

    /** 封禁理由 */
    @Excel(name = "封禁理由")
    private String limitMsg;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setParentUserId(Integer parentUserId)
    {
        this.parentUserId = parentUserId;
    }

    public Integer getParentUserId()
    {
        return parentUserId;
    }
    public void setBalance(BigDecimal balance)
    {
        this.balance = balance;
    }

    public BigDecimal getBalance()
    {
        return balance;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setTotalProfit(BigDecimal totalProfit)
    {
        this.totalProfit = totalProfit;
    }

    public BigDecimal getTotalProfit()
    {
        return totalProfit;
    }
    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public String getRealName()
    {
        return realName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setWechat(String wechat)
    {
        this.wechat = wechat;
    }

    public String getWechat()
    {
        return wechat;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setAlipay(String alipay)
    {
        this.alipay = alipay;
    }

    public String getAlipay()
    {
        return alipay;
    }
    public void setLevel(Integer level)
    {
        this.level = level;
    }

    public Integer getLevel()
    {
        return level;
    }
    public void setIsAuth(Integer isAuth)
    {
        this.isAuth = isAuth;
    }

    public Integer getIsAuth()
    {
        return isAuth;
    }
    public void setLimitStatus(Integer limitStatus)
    {
        this.limitStatus = limitStatus;
    }

    public Integer getLimitStatus()
    {
        return limitStatus;
    }
    public void setLimitMsg(String limitMsg)
    {
        this.limitMsg = limitMsg;
    }

    public String getLimitMsg()
    {
        return limitMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("parentUserId", getParentUserId())
                .append("balance", getBalance())
                .append("userName", getUserName())
                .append("totalProfit", getTotalProfit())
                .append("realName", getRealName())
                .append("phone", getPhone())
                .append("wechat", getWechat())
                .append("idCard", getIdCard())
                .append("alipay", getAlipay())
                .append("level", getLevel())
                .append("isAuth", getIsAuth())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("limitStatus", getLimitStatus())
                .append("limitMsg", getLimitMsg())
                .toString();
    }
}
